//
//  BQHeaderCell.m
//  BeeQuick
//
//  Created by 万伶童 on 16/11/19.
//  Copyright © 2016年 six_group. All rights reserved.
//

#import "BQHeaderCell.h"
@interface BQHeaderCell()
@property(weak,nonatomic)UIImageView * pictureView;
@end
@implementation BQHeaderCell

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        [self setupUI];
    }
    return self;
}

#pragma 搭建界面
- (void)setupUI
{
    UIImageView * pictureView = [[UIImageView alloc]init];
    pictureView.image = [UIImage imageNamed:@"business_ad_001"];
    [self.contentView addSubview:pictureView];
    
    //MARK:约束
    [pictureView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.left.right.equalTo(self.contentView);
        make.height.mas_equalTo(120);
    }];
    
}

@end
